//
//  HELStatisticCell.m
//  HandheldELearn
//
//  Created by 陈武琦 on 16/7/13.
//  Copyright © 2016年 陈武琦. All rights reserved.
//

#import "HELMeetingInfoCell.h"
#import "NSString+Utilities.h"
#import "Masonry.h"
@implementation HELMeetingInfoCell


- (void)setModel:(HELMeetingModel *)model {
    _model = model;
    self.title.text = model.title;
    self.dateTime.text = [NSString timeToString:[model.createTime longLongValue]];
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    UIView *view = [UIView new];
    view.alpha = .7;
    view.frame = self.bounds;
    view.backgroundColor = kMainColor;
    self.selectedBackgroundView =view;
    wsj_cornerRadius(self.tagL, self.tagL.bounds.size.width/2);
    
    self.bgView.layer.borderWidth = 1;
    self.bgView.layer.borderColor =kBorderColor.CGColor;
    
}

//-(void)updateConstraints {
//    
//
//    //change Height Constrains to be 0
//    [self.dateTime mas_updateConstraints:^(MASConstraintMaker *make) {
//        make.height.equalTo(@15);
//    }];
//    [super updateConstraints];
//}
@end
